package com.qfjy.shichengyong.staticproxy;

/**
 * @author:scy
 * @date:2022/9/13 19:18
 * @version:1.0
 */
public class Student implements Person {

    private String name;

    public Student(String name) {
        this.name = name;
    }

    @Override
    public void giveMoney() {
        System.out.println(name + "上交班费");
    }
}
